package com.burgeon.backend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@Configuration
@SpringBootApplication
@MapperScan("com.burgeon.backend.mappers")
@MapperScan("com.burgeon.backend.SHOP.mappers")
@MapperScan("com.burgeon.backend.SHOPBACKEND.mappers")
@MapperScan("com.burgeon.backend.EnterpriseWeChat.mappers")
@MapperScan("com.burgeon.backend.college.client_side.mappers")
@MapperScan("com.burgeon.backend.college.control_panel.mappers")

@EnableScheduling
@EnableAsync
public class BackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(BackendApplication.class, args);
    }

}
